/** Approximate NNS (Large Data Sets) (Figure 4-6)
 *  i.e. LSH Minhash, NN Multihash & NN-ZDD Multihash
 * 
 * @author Yong Boon, Lim (yongboon.lim@gmail.com)
 */

package eval;

import java.util.ArrayList;

import core.Core;
import core.NNLSH;
import core.NNMultiHash;
import core.NNZDDMultiHash;

public class Evaluator4 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// Compare Performance of NN LSH, NN Multihash, and NN-ZDD Multihash for 2000 documents
		String traindataDir = "data/test_data_newsgroups";
		
		Evaluator e = new Evaluator();
		e.DEBUG = false;
		ArrayList<Core> nnList = new ArrayList<Core>();
		nnList.add(new NNZDDMultiHash(traindataDir, 4));
		nnList.add(new NNMultiHash(traindataDir, 4));
		nnList.add(new NNLSH(traindataDir, 1000, 4));
		
		e.doEval(traindataDir, nnList, 2000);			
	}

}
